package com.cg.dao;


import com.cg.dto.NoticeDepartmentDto;
import com.cg.entity.NoticeDepartment;

import java.util.List;

/**
 * (NoticeDepartment)表数据库访问层
 *
 * @author chengong
 * @since 2023-12-16 10:06:18
 */
public interface NoticeDepartmentMapper {

    /**
     * 增加公告关联信息
     *
     * @param noticeDepartmentDto
     * @return
     */
    Integer createNoticeDepartment(NoticeDepartmentDto noticeDepartmentDto);

    /**
     * 查询公告表个部门表关联信息是否有
     */
    List<NoticeDepartment> queryNoticeDepartment(Integer noticeId);


    /**
     * 删除关联表信息
     */
    Integer removeNoticeDepartment(Integer noticeId);
}

